<template>
    <div>
        <h2>会员列表</h2>
        <input type="button" value="会员添加" class="btn btn-info" @click="Add">
    </div>
</template>

<script setup lang="ts">

import { ref, reactive, onMounted, renderSlot } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import axios from 'axios';
const route = useRoute();
const router = useRouter();
//跳转到添加
const Add = () => {
    router.push('/userAdd');
}


</script>

<style scoped></style>